﻿<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri= "http://java.sun.com/jsp/jstl/core" prefix= "c" %>
<%@taglib uri= "/WEB-INF/tld/fn.tld" prefix= "fn" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>新鲜资讯内容详情</title>
    <link href="${pageContext.request.contextPath }/portal/scripts/layout.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="${pageContext.request.contextPath }/util/js/jquery.js"></script>
    
</head>
<body>
  <div id="container">
    <div id="mainContent">
      <jsp:include page="./common/top.jsp" flush="true" />
      
      <div class="content">
    	<div class="subpageLeft">
          <div class="titleshort">
            <div class="titlearrow"></div>
            <div class="titlecaption">新鲜资讯</div>
            <div class="titlemore"></div>
          </div>
          
          <div id="productsTypeDiv">
            <table width="100%">
              <c:if test="${not empty requestScope.producttypeLst }">
              <c:forEach items="${requestScope.producttypeLst }" varStatus="status" var="item">
              <tr style="height: 20px">
                <td>
                  <a href="./products.do?productTypeId=${item.id }">${item.typeName }</a>
                </td>
              </tr>
              </c:forEach>
              </c:if>
            </table>
          </div>
        </div>
        
        <div class="subpageRight">
          <div class="titlelong">
            <div class="titlearrow"></div>
            <div class="titlecaption">新鲜资讯内容详情</div>
            <div class="titlemore"></div>
          </div>
          
          <div>
              <table class="subpageTable">
                <tr style="height:30px;">
                  <th align="center">${newInfoDetail.title }</th>
                </tr>
                <tr>
                  <td colspan="3">
                    ${newInfoDetail.detailContent }
                  </td>
                </tr>
              </table>
          </div>
        </div>
      </div>
      
      <div id="footerdiv">
  	 	<jsp:include page="./common/bottom2.jsp" flush="true" >
     		<jsp:param value="footerNewInfo" name="classStyle"/>
   	 	</jsp:include>
      </div>
    </div>
  </div>
</body>
</html>
